package springboot.bigdata.demo.example;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class UserServiceLevelChangeRecordExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public UserServiceLevelChangeRecordExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andChangeRecordIdIsNull() {
            addCriterion("change_record_id is null");
            return (Criteria) this;
        }

        public Criteria andChangeRecordIdIsNotNull() {
            addCriterion("change_record_id is not null");
            return (Criteria) this;
        }

        public Criteria andChangeRecordIdEqualTo(Integer value) {
            addCriterion("change_record_id =", value, "changeRecordId");
            return (Criteria) this;
        }

        public Criteria andChangeRecordIdNotEqualTo(Integer value) {
            addCriterion("change_record_id <>", value, "changeRecordId");
            return (Criteria) this;
        }

        public Criteria andChangeRecordIdGreaterThan(Integer value) {
            addCriterion("change_record_id >", value, "changeRecordId");
            return (Criteria) this;
        }

        public Criteria andChangeRecordIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("change_record_id >=", value, "changeRecordId");
            return (Criteria) this;
        }

        public Criteria andChangeRecordIdLessThan(Integer value) {
            addCriterion("change_record_id <", value, "changeRecordId");
            return (Criteria) this;
        }

        public Criteria andChangeRecordIdLessThanOrEqualTo(Integer value) {
            addCriterion("change_record_id <=", value, "changeRecordId");
            return (Criteria) this;
        }

        public Criteria andChangeRecordIdIn(List<Integer> values) {
            addCriterion("change_record_id in", values, "changeRecordId");
            return (Criteria) this;
        }

        public Criteria andChangeRecordIdNotIn(List<Integer> values) {
            addCriterion("change_record_id not in", values, "changeRecordId");
            return (Criteria) this;
        }

        public Criteria andChangeRecordIdBetween(Integer value1, Integer value2) {
            addCriterion("change_record_id between", value1, value2, "changeRecordId");
            return (Criteria) this;
        }

        public Criteria andChangeRecordIdNotBetween(Integer value1, Integer value2) {
            addCriterion("change_record_id not between", value1, value2, "changeRecordId");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(Integer value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(Integer value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(Integer value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(Integer value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(Integer value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<Integer> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<Integer> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(Integer value1, Integer value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(Integer value1, Integer value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andServiceItemIdIsNull() {
            addCriterion("service_item_id is null");
            return (Criteria) this;
        }

        public Criteria andServiceItemIdIsNotNull() {
            addCriterion("service_item_id is not null");
            return (Criteria) this;
        }

        public Criteria andServiceItemIdEqualTo(Integer value) {
            addCriterion("service_item_id =", value, "serviceItemId");
            return (Criteria) this;
        }

        public Criteria andServiceItemIdNotEqualTo(Integer value) {
            addCriterion("service_item_id <>", value, "serviceItemId");
            return (Criteria) this;
        }

        public Criteria andServiceItemIdGreaterThan(Integer value) {
            addCriterion("service_item_id >", value, "serviceItemId");
            return (Criteria) this;
        }

        public Criteria andServiceItemIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("service_item_id >=", value, "serviceItemId");
            return (Criteria) this;
        }

        public Criteria andServiceItemIdLessThan(Integer value) {
            addCriterion("service_item_id <", value, "serviceItemId");
            return (Criteria) this;
        }

        public Criteria andServiceItemIdLessThanOrEqualTo(Integer value) {
            addCriterion("service_item_id <=", value, "serviceItemId");
            return (Criteria) this;
        }

        public Criteria andServiceItemIdIn(List<Integer> values) {
            addCriterion("service_item_id in", values, "serviceItemId");
            return (Criteria) this;
        }

        public Criteria andServiceItemIdNotIn(List<Integer> values) {
            addCriterion("service_item_id not in", values, "serviceItemId");
            return (Criteria) this;
        }

        public Criteria andServiceItemIdBetween(Integer value1, Integer value2) {
            addCriterion("service_item_id between", value1, value2, "serviceItemId");
            return (Criteria) this;
        }

        public Criteria andServiceItemIdNotBetween(Integer value1, Integer value2) {
            addCriterion("service_item_id not between", value1, value2, "serviceItemId");
            return (Criteria) this;
        }

        public Criteria andServiceItemNameIsNull() {
            addCriterion("service_item_name is null");
            return (Criteria) this;
        }

        public Criteria andServiceItemNameIsNotNull() {
            addCriterion("service_item_name is not null");
            return (Criteria) this;
        }

        public Criteria andServiceItemNameEqualTo(String value) {
            addCriterion("service_item_name =", value, "serviceItemName");
            return (Criteria) this;
        }

        public Criteria andServiceItemNameNotEqualTo(String value) {
            addCriterion("service_item_name <>", value, "serviceItemName");
            return (Criteria) this;
        }

        public Criteria andServiceItemNameGreaterThan(String value) {
            addCriterion("service_item_name >", value, "serviceItemName");
            return (Criteria) this;
        }

        public Criteria andServiceItemNameGreaterThanOrEqualTo(String value) {
            addCriterion("service_item_name >=", value, "serviceItemName");
            return (Criteria) this;
        }

        public Criteria andServiceItemNameLessThan(String value) {
            addCriterion("service_item_name <", value, "serviceItemName");
            return (Criteria) this;
        }

        public Criteria andServiceItemNameLessThanOrEqualTo(String value) {
            addCriterion("service_item_name <=", value, "serviceItemName");
            return (Criteria) this;
        }

        public Criteria andServiceItemNameLike(String value) {
            addCriterion("service_item_name like", value, "serviceItemName");
            return (Criteria) this;
        }

        public Criteria andServiceItemNameNotLike(String value) {
            addCriterion("service_item_name not like", value, "serviceItemName");
            return (Criteria) this;
        }

        public Criteria andServiceItemNameIn(List<String> values) {
            addCriterion("service_item_name in", values, "serviceItemName");
            return (Criteria) this;
        }

        public Criteria andServiceItemNameNotIn(List<String> values) {
            addCriterion("service_item_name not in", values, "serviceItemName");
            return (Criteria) this;
        }

        public Criteria andServiceItemNameBetween(String value1, String value2) {
            addCriterion("service_item_name between", value1, value2, "serviceItemName");
            return (Criteria) this;
        }

        public Criteria andServiceItemNameNotBetween(String value1, String value2) {
            addCriterion("service_item_name not between", value1, value2, "serviceItemName");
            return (Criteria) this;
        }

        public Criteria andWorkYearIsNull() {
            addCriterion("work_year is null");
            return (Criteria) this;
        }

        public Criteria andWorkYearIsNotNull() {
            addCriterion("work_year is not null");
            return (Criteria) this;
        }

        public Criteria andWorkYearEqualTo(Integer value) {
            addCriterion("work_year =", value, "workYear");
            return (Criteria) this;
        }

        public Criteria andWorkYearNotEqualTo(Integer value) {
            addCriterion("work_year <>", value, "workYear");
            return (Criteria) this;
        }

        public Criteria andWorkYearGreaterThan(Integer value) {
            addCriterion("work_year >", value, "workYear");
            return (Criteria) this;
        }

        public Criteria andWorkYearGreaterThanOrEqualTo(Integer value) {
            addCriterion("work_year >=", value, "workYear");
            return (Criteria) this;
        }

        public Criteria andWorkYearLessThan(Integer value) {
            addCriterion("work_year <", value, "workYear");
            return (Criteria) this;
        }

        public Criteria andWorkYearLessThanOrEqualTo(Integer value) {
            addCriterion("work_year <=", value, "workYear");
            return (Criteria) this;
        }

        public Criteria andWorkYearIn(List<Integer> values) {
            addCriterion("work_year in", values, "workYear");
            return (Criteria) this;
        }

        public Criteria andWorkYearNotIn(List<Integer> values) {
            addCriterion("work_year not in", values, "workYear");
            return (Criteria) this;
        }

        public Criteria andWorkYearBetween(Integer value1, Integer value2) {
            addCriterion("work_year between", value1, value2, "workYear");
            return (Criteria) this;
        }

        public Criteria andWorkYearNotBetween(Integer value1, Integer value2) {
            addCriterion("work_year not between", value1, value2, "workYear");
            return (Criteria) this;
        }

        public Criteria andChangeTypeIsNull() {
            addCriterion("change_type is null");
            return (Criteria) this;
        }

        public Criteria andChangeTypeIsNotNull() {
            addCriterion("change_type is not null");
            return (Criteria) this;
        }

        public Criteria andChangeTypeEqualTo(Integer value) {
            addCriterion("change_type =", value, "changeType");
            return (Criteria) this;
        }

        public Criteria andChangeTypeNotEqualTo(Integer value) {
            addCriterion("change_type <>", value, "changeType");
            return (Criteria) this;
        }

        public Criteria andChangeTypeGreaterThan(Integer value) {
            addCriterion("change_type >", value, "changeType");
            return (Criteria) this;
        }

        public Criteria andChangeTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("change_type >=", value, "changeType");
            return (Criteria) this;
        }

        public Criteria andChangeTypeLessThan(Integer value) {
            addCriterion("change_type <", value, "changeType");
            return (Criteria) this;
        }

        public Criteria andChangeTypeLessThanOrEqualTo(Integer value) {
            addCriterion("change_type <=", value, "changeType");
            return (Criteria) this;
        }

        public Criteria andChangeTypeIn(List<Integer> values) {
            addCriterion("change_type in", values, "changeType");
            return (Criteria) this;
        }

        public Criteria andChangeTypeNotIn(List<Integer> values) {
            addCriterion("change_type not in", values, "changeType");
            return (Criteria) this;
        }

        public Criteria andChangeTypeBetween(Integer value1, Integer value2) {
            addCriterion("change_type between", value1, value2, "changeType");
            return (Criteria) this;
        }

        public Criteria andChangeTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("change_type not between", value1, value2, "changeType");
            return (Criteria) this;
        }

        public Criteria andOldLevelIsNull() {
            addCriterion("old_level is null");
            return (Criteria) this;
        }

        public Criteria andOldLevelIsNotNull() {
            addCriterion("old_level is not null");
            return (Criteria) this;
        }

        public Criteria andOldLevelEqualTo(String value) {
            addCriterion("old_level =", value, "oldLevel");
            return (Criteria) this;
        }

        public Criteria andOldLevelNotEqualTo(String value) {
            addCriterion("old_level <>", value, "oldLevel");
            return (Criteria) this;
        }

        public Criteria andOldLevelGreaterThan(String value) {
            addCriterion("old_level >", value, "oldLevel");
            return (Criteria) this;
        }

        public Criteria andOldLevelGreaterThanOrEqualTo(String value) {
            addCriterion("old_level >=", value, "oldLevel");
            return (Criteria) this;
        }

        public Criteria andOldLevelLessThan(String value) {
            addCriterion("old_level <", value, "oldLevel");
            return (Criteria) this;
        }

        public Criteria andOldLevelLessThanOrEqualTo(String value) {
            addCriterion("old_level <=", value, "oldLevel");
            return (Criteria) this;
        }

        public Criteria andOldLevelLike(String value) {
            addCriterion("old_level like", value, "oldLevel");
            return (Criteria) this;
        }

        public Criteria andOldLevelNotLike(String value) {
            addCriterion("old_level not like", value, "oldLevel");
            return (Criteria) this;
        }

        public Criteria andOldLevelIn(List<String> values) {
            addCriterion("old_level in", values, "oldLevel");
            return (Criteria) this;
        }

        public Criteria andOldLevelNotIn(List<String> values) {
            addCriterion("old_level not in", values, "oldLevel");
            return (Criteria) this;
        }

        public Criteria andOldLevelBetween(String value1, String value2) {
            addCriterion("old_level between", value1, value2, "oldLevel");
            return (Criteria) this;
        }

        public Criteria andOldLevelNotBetween(String value1, String value2) {
            addCriterion("old_level not between", value1, value2, "oldLevel");
            return (Criteria) this;
        }

        public Criteria andNowLevelIsNull() {
            addCriterion("now_level is null");
            return (Criteria) this;
        }

        public Criteria andNowLevelIsNotNull() {
            addCriterion("now_level is not null");
            return (Criteria) this;
        }

        public Criteria andNowLevelEqualTo(String value) {
            addCriterion("now_level =", value, "nowLevel");
            return (Criteria) this;
        }

        public Criteria andNowLevelNotEqualTo(String value) {
            addCriterion("now_level <>", value, "nowLevel");
            return (Criteria) this;
        }

        public Criteria andNowLevelGreaterThan(String value) {
            addCriterion("now_level >", value, "nowLevel");
            return (Criteria) this;
        }

        public Criteria andNowLevelGreaterThanOrEqualTo(String value) {
            addCriterion("now_level >=", value, "nowLevel");
            return (Criteria) this;
        }

        public Criteria andNowLevelLessThan(String value) {
            addCriterion("now_level <", value, "nowLevel");
            return (Criteria) this;
        }

        public Criteria andNowLevelLessThanOrEqualTo(String value) {
            addCriterion("now_level <=", value, "nowLevel");
            return (Criteria) this;
        }

        public Criteria andNowLevelLike(String value) {
            addCriterion("now_level like", value, "nowLevel");
            return (Criteria) this;
        }

        public Criteria andNowLevelNotLike(String value) {
            addCriterion("now_level not like", value, "nowLevel");
            return (Criteria) this;
        }

        public Criteria andNowLevelIn(List<String> values) {
            addCriterion("now_level in", values, "nowLevel");
            return (Criteria) this;
        }

        public Criteria andNowLevelNotIn(List<String> values) {
            addCriterion("now_level not in", values, "nowLevel");
            return (Criteria) this;
        }

        public Criteria andNowLevelBetween(String value1, String value2) {
            addCriterion("now_level between", value1, value2, "nowLevel");
            return (Criteria) this;
        }

        public Criteria andNowLevelNotBetween(String value1, String value2) {
            addCriterion("now_level not between", value1, value2, "nowLevel");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdIsNull() {
            addCriterion("create_user_id is null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdIsNotNull() {
            addCriterion("create_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdEqualTo(Integer value) {
            addCriterion("create_user_id =", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdNotEqualTo(Integer value) {
            addCriterion("create_user_id <>", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdGreaterThan(Integer value) {
            addCriterion("create_user_id >", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("create_user_id >=", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdLessThan(Integer value) {
            addCriterion("create_user_id <", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdLessThanOrEqualTo(Integer value) {
            addCriterion("create_user_id <=", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdIn(List<Integer> values) {
            addCriterion("create_user_id in", values, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdNotIn(List<Integer> values) {
            addCriterion("create_user_id not in", values, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdBetween(Integer value1, Integer value2) {
            addCriterion("create_user_id between", value1, value2, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdNotBetween(Integer value1, Integer value2) {
            addCriterion("create_user_id not between", value1, value2, "createUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdIsNull() {
            addCriterion("update_user_id is null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdIsNotNull() {
            addCriterion("update_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdEqualTo(Integer value) {
            addCriterion("update_user_id =", value, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdNotEqualTo(Integer value) {
            addCriterion("update_user_id <>", value, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdGreaterThan(Integer value) {
            addCriterion("update_user_id >", value, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("update_user_id >=", value, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdLessThan(Integer value) {
            addCriterion("update_user_id <", value, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdLessThanOrEqualTo(Integer value) {
            addCriterion("update_user_id <=", value, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdIn(List<Integer> values) {
            addCriterion("update_user_id in", values, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdNotIn(List<Integer> values) {
            addCriterion("update_user_id not in", values, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdBetween(Integer value1, Integer value2) {
            addCriterion("update_user_id between", value1, value2, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdNotBetween(Integer value1, Integer value2) {
            addCriterion("update_user_id not between", value1, value2, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andValidIsNull() {
            addCriterion("`valid` is null");
            return (Criteria) this;
        }

        public Criteria andValidIsNotNull() {
            addCriterion("`valid` is not null");
            return (Criteria) this;
        }

        public Criteria andValidEqualTo(Integer value) {
            addCriterion("`valid` =", value, "valid");
            return (Criteria) this;
        }

        public Criteria andValidNotEqualTo(Integer value) {
            addCriterion("`valid` <>", value, "valid");
            return (Criteria) this;
        }

        public Criteria andValidGreaterThan(Integer value) {
            addCriterion("`valid` >", value, "valid");
            return (Criteria) this;
        }

        public Criteria andValidGreaterThanOrEqualTo(Integer value) {
            addCriterion("`valid` >=", value, "valid");
            return (Criteria) this;
        }

        public Criteria andValidLessThan(Integer value) {
            addCriterion("`valid` <", value, "valid");
            return (Criteria) this;
        }

        public Criteria andValidLessThanOrEqualTo(Integer value) {
            addCriterion("`valid` <=", value, "valid");
            return (Criteria) this;
        }

        public Criteria andValidIn(List<Integer> values) {
            addCriterion("`valid` in", values, "valid");
            return (Criteria) this;
        }

        public Criteria andValidNotIn(List<Integer> values) {
            addCriterion("`valid` not in", values, "valid");
            return (Criteria) this;
        }

        public Criteria andValidBetween(Integer value1, Integer value2) {
            addCriterion("`valid` between", value1, value2, "valid");
            return (Criteria) this;
        }

        public Criteria andValidNotBetween(Integer value1, Integer value2) {
            addCriterion("`valid` not between", value1, value2, "valid");
            return (Criteria) this;
        }

        public Criteria andServiceItemCodeIsNull() {
            addCriterion("service_item_code is null");
            return (Criteria) this;
        }

        public Criteria andServiceItemCodeIsNotNull() {
            addCriterion("service_item_code is not null");
            return (Criteria) this;
        }

        public Criteria andServiceItemCodeEqualTo(String value) {
            addCriterion("service_item_code =", value, "serviceItemCode");
            return (Criteria) this;
        }

        public Criteria andServiceItemCodeNotEqualTo(String value) {
            addCriterion("service_item_code <>", value, "serviceItemCode");
            return (Criteria) this;
        }

        public Criteria andServiceItemCodeGreaterThan(String value) {
            addCriterion("service_item_code >", value, "serviceItemCode");
            return (Criteria) this;
        }

        public Criteria andServiceItemCodeGreaterThanOrEqualTo(String value) {
            addCriterion("service_item_code >=", value, "serviceItemCode");
            return (Criteria) this;
        }

        public Criteria andServiceItemCodeLessThan(String value) {
            addCriterion("service_item_code <", value, "serviceItemCode");
            return (Criteria) this;
        }

        public Criteria andServiceItemCodeLessThanOrEqualTo(String value) {
            addCriterion("service_item_code <=", value, "serviceItemCode");
            return (Criteria) this;
        }

        public Criteria andServiceItemCodeLike(String value) {
            addCriterion("service_item_code like", value, "serviceItemCode");
            return (Criteria) this;
        }

        public Criteria andServiceItemCodeNotLike(String value) {
            addCriterion("service_item_code not like", value, "serviceItemCode");
            return (Criteria) this;
        }

        public Criteria andServiceItemCodeIn(List<String> values) {
            addCriterion("service_item_code in", values, "serviceItemCode");
            return (Criteria) this;
        }

        public Criteria andServiceItemCodeNotIn(List<String> values) {
            addCriterion("service_item_code not in", values, "serviceItemCode");
            return (Criteria) this;
        }

        public Criteria andServiceItemCodeBetween(String value1, String value2) {
            addCriterion("service_item_code between", value1, value2, "serviceItemCode");
            return (Criteria) this;
        }

        public Criteria andServiceItemCodeNotBetween(String value1, String value2) {
            addCriterion("service_item_code not between", value1, value2, "serviceItemCode");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}